package com.example.dubbo.aip.vo.demo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 账户相关Entity
 * ClassName:AccountTbl
 * Description: 用于测试Seata 分布式事务
 */
@Table(name = "account_tbl")
@Data
public class AccountTbl implements Serializable{

    @Id
    private Integer id;
    //用户id
    private String userId;
    //账户余额
    private Integer money;
}